package com.mingqijia.gassafety.webserver.response.inner;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * @author zero
 * @since 2023-06-10
 */

@Data
@ApiModel("报警器设备列表")
public class IotskDtuResponse {
    @ApiModelProperty("imei")
    private String imei;

    @ApiModelProperty("设备状态  0:离线 1:正常 2:低报 3:高报 4:故障 5:过期 6:报警")
    private Integer equipmentStatus;
    
    @ApiModelProperty("设备状态描述")
    private String equipmentStatusInfo;

    @ApiModelProperty("信号值")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer signal;

    @ApiModelProperty("设备来源：0：默认 1：紫荆wifi设备")
    private Integer equipmentFrom;

    @ApiModelProperty("探测器数量")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer detectorNum;

    @ApiModelProperty("探测器列表")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<IotskDtuResponse> detectorDeviceList;


}
